from tastypie.authorization import Authorization
from tastypie.resources import ModelResource
from GApiv3.models import PublicTrans

class ptApi(ModelResource):
    class Meta:
        queryset = PublicTrans.objects.all()
        resource_name = 'pt3'
        excludes = ['phone']
        authorization= Authorization()